import React from 'react'

//服务列表
export async function apiServicePage(params) {
    return await React.$post('/management/storeService/infoPage', params);
}
//服务详情
export async function apiServiceDetail(params) {
    return await React.$post('/management/storeService/getServiceInfo', params);
}
//服务申请通过
export async function apiServiceApprove(params) {
    return await React.$post('/management/storeService/approve', params);
}
//服务申请通过
export async function apiServiceRejected(params) {
    return await React.$post('/management/storeService/rejected', params);
}
//服务类目
export async function apiServiceClassifyList(params) {
    return await React.$post('/management/serviceClassify/list', params);
}
//服务类目new
export async function apiServiceClassifyGetList(params) {
    return await React.$post('/management/serviceClassify/getList', params);
}
//服务修改
export async function apiServiceClassifyEdit(params) {
    return await React.$post('/management/serviceClassify/edit', params);
}
//服务排序
export async function apiServiceClassifySort(params) {
    return await React.$post('/management/serviceClassify/sort', params);
}
//服务新增
export async function apiServiceClassifyAdd(params) {
    return await React.$post('/management/serviceClassify/add', params);
}
//服务删除
export async function apiServiceClassifyDel(params) {
    return await React.$post('/management/serviceClassify/del', params);
}
//服务标签
export async function apiServiceShowLabelPage(params) {
    return await React.$post('/management/serviceShowLabel/page', params);
}
//服务修改
export async function apiServiceShowLabelEdit(params) {
    return await React.$post('/management/serviceShowLabel/edit', params);
}
//服务新增
export async function apiServiceShowLabelAdd(params) {
    return await React.$post('/management/serviceShowLabel/add', params);
}
//服务删除
export async function apiServiceShowLabelDel(params) {
    return await React.$post('/management/serviceShowLabel/del', params);
}
//服务标签全部
export async function apiStoreServiceLabelList(params) {
    return await React.$post('/management/serviceShowLabel/list', params);
}
//服务新增
export async function apiStoreServiceAdd(params) {
    return await React.$postJson('/management/storeService/add', params);
}
//服务发布-取消
export async function apiStoreServiceUpdateState(params) {
    return await React.$post('/management/storeService/updateState', params);
}
//服务修改
export async function apiStoreServiceEdit(params) {
    return await React.$postJson('/management/storeService/edit', params);
}
//服务删除
export async function apiStoreServiceDel(params) {
    return await React.$post('/management/storeService/del', params);
}
//服务上下架
export async function apiStoreServicePutway(params) {
    return await React.$post('/management/storeService/putaway', params);
}

